package org.jflame.devAide.component;

import java.io.Serializable;

public class EditorCfg implements Serializable {

    private static final long serialVersionUID = -6838350353822130928L;

    public enum ToolBarStyle {
        SIMPLE,
        FULL
    }

    private String lang;
    private int toolBarStyle;
    // private Integer initWidth;
    private Integer initHeight;

    public EditorCfg() {
        toolBarStyle(ToolBarStyle.FULL);
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public int getToolBarStyle() {
        return toolBarStyle;
    }

    public EditorCfg toolBarStyle(ToolBarStyle _toolBarStyle) {
        this.toolBarStyle = _toolBarStyle.ordinal();
        return this;
    }

    public void setToolBarStyle(int _toolBarStyle) {
        this.toolBarStyle = _toolBarStyle;
    }

    /* public Integer getInitWidth() {
        return initWidth;
    }
    
    public void setInitWidth(Integer initWidth) {
        this.initWidth = initWidth;
    }*/

    public Integer getInitHeight() {
        return initHeight;
    }

    public void setInitHeight(Integer initHeight) {
        this.initHeight = initHeight;
    }

}
